
.collection-head {
    padding:1.5rem 0;
    &.small {
        padding:0.8rem 0;
        .collection-title {
            padding: 10px 0;
            h1.collection-header {
                font-size:30px;
            }
        }
    }
    margin-top: -20px;
    margin-bottom: 20px;
    background: #302F2F url(/assets/images/octicons-bg.png) center repeat;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    color: #fff;

    a {
        color: #fff;
        &:hover{
            text-decoration:none;
        }
    }

    .collection-title {
        display: table-cell;
        padding: 20px 0;
        vertical-align: middle
    }

    .collection-info {
        margin: 0;
        .meta-info {
            margin-right: 15px
        }
        .avatar {
            background-color: rgba(255,255,255,0.7);
            border: 1px solid rgba(255,255,255,0.7)
        }
    }

    .collection-head .container {
        position: relative
    }

    .draft-tag {
        position: absolute;
        top: 0;
        left: 0
    }

    .collection-header {
        margin-top: 0;
        font-size: 45px;
        line-height: 1.5;
        font-weight: normal
    }

    .collection-description {
        position: relative;
        font-size: 16px
    }
}

.collection-page {
     .collection-info {
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: 13px;
        color: #999
    }

    .column.main {
        margin-right: 260px !important
    }

    .column.sidebar {
        width: 240px
    }

    .other-content {
        padding: 20px 0 20px 20px;
        border-left: 1px solid #f1f1f1;

        .subnav-search {
            margin-left: 0
        }

        input.subnav-search-input {
            width: 100%
        }
    }

    .other-content-title {
        margin-top: 40px
    }

    .other-content-title:first-child {
        margin-top: 0
    }
}



.side-collection-list {
    margin: 0;
    list-style-type: none
}

.side-collection-link {
    display: table;
    width: 100%;
    height: 100px;
    color: #fff
}

.side-collection-item-title {
    font-size: 16px;
    font-weight: 100
}

.side-collection-image {
    background: #555 url(/assets/images/octicons-bg.png) center repeat;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    color: #fff;
    display: table-cell;
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
    text-align: center;
    vertical-align: middle;
    border-radius: 3px
}

.side-collection-list-item {
    margin-bottom: 20px
}

.collection-tools {
    list-style-type: none;
    margin-bottom: 10px;
    font-size: 15px;

    .edit-link {
        color: #333
    }

    .edit-link:hover {
        color: #4183c4;
        cursor: pointer
    }

    .octicon {
        margin-right: 5px
    }

    .select-menu-button {
        position: relative;
        display: inline-block;
        color: #333;

        :hover {
            color: #4183c4;
            cursor: pointer
        }
    }
}

.collection-tool {
    margin-left: 20px
}

.collection-search-results em {
    padding: 0.1em;
    background-color: #faffa6
}

.collection-search-result {
    margin-bottom: 40px;
    list-style-type: none
}

.collection-search-result-title {
    margin-top: 0
}

.collection-search-page .search-results-info {
    line-height: 33px;
    float: right;
    margin-left: 10px;
    font-size: 15px
}


.collection-listing {
    text-align:center;
}

.collection-card {
    position: relative;
    display:inline-block;
    width: 30%;
    max-width: 313px;
    margin:0 10px;
    margin-bottom: 20px;
    list-style-type: none;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow:hidden;
}

.collection-card .draft-tag {
    position: absolute;
    top: -1px;
    left: 10px
}

.collection-card-title {
    padding: 0 15px;
    margin: 10px 0;
    display: table-cell;
    width: 100%;
    height: 100%;
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle
}

.collection-card-body {
    padding: 0 15px;
    margin: 10px 0;
    height: 3em;
    margin-top: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5em
}

.collection-card-image {
    position: relative;
    display: table;
    width: 101%;
    height: 120px;
    margin: -1px;
    margin-bottom: 15px;
    background: #555 url(/assets/images/octicons-bg.png) center repeat;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    color: #fff;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px
}

.collection-card-meta {
    padding: 0 15px;
    margin-top: 5px;
    margin-bottom: 15px;
    color: #777;
    font-size: 12px;
}

.collection-card-meta .meta-info {
    margin-right: 10px
}

.collection-card-meta .last-updated {
    float: right;
    margin-right: 0
}